package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.CreateCheckResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  保存抽查结果接口
* */


public class CreateCheckApi extends AbsRequest<CreateCheckApi.CreateCheckParams, CreateCheckResult> {

    public CreateCheckApi(CreateCheckParams createCheckParams, Listener<CreateCheckResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getCreateCheckUrl(), createCheckParams, listener, errorListener, CreateCheckResult.class);
    }

    public static class CreateCheckParams extends BaseParams {

        public CreateCheckParams(String orderId,String questionList,String punishAmount,String punishReason,String picPunish) {

            put("ORDER_ID", orderId);
            put("QUESTIONLIST", questionList);
            put("PUNISH_AMOUNT", punishAmount);
            put("PUNISH_REASON", punishReason);
            put("PIC_PUNISH", picPunish);
        }
    }


}
